<link href="/themes/default/css/umeditor.css" type="text/css" rel="stylesheet">
<link href="/themes/default/css/default.css" type="text/css" rel="stylesheet">
<script type="text/javascript" src="/third-party/jquery.min.js"></script>
<script type="text/javascript" charset="utf-8" src="/umeditor.config.js"></script>
<script type="text/javascript" charset="utf-8" src="/umeditor.min.js"></script>
<script type="text/javascript" src="/lang/zh-cn/zh-cn.js"></script>

<input type="hidden" name="article.id" value="${article.id!''}">
<input type="hidden" name="article.cid" value="${cid}">
<input type="hidden" name="article.author" value="吉林省保险行业协会">
<input type="hidden" name="article.come_from" value="吉林省保险行业协会">
<input type="hidden" id="articleContent" name="article.content">
<table class="insert-tab" width="100%">
  <tbody>
  <tr>
    <th><i class="require-red">*</i>通知标题：</th>
    <td><input class="common-text required" name="article.title" size="50" value="${article.title!''}" type="text"></td>
  </tr>
  <tr>
    <th><i class="require-red">*</i>正文：</th>
    <td>
      <script type="text/plain" id="content" style="width:95%;height:300px;">${article.content!''}</script>
    </td>
  </tr>
  <tr>
    <th></th>
    <td>
      <input type="button" class="btn btn-primary btn6 mr10" value="提交" onclick="submitForm();">
      <input class="btn btn6" onclick="history.go(-1)" value="返回" type="button">
    </td>
  </tr>
  </tbody>
</table>

<script type="text/javascript">
  //实例化编辑器
  var um = UM.getEditor('content');

  function submitForm() {
    var content = UM.getEditor('content').getContent();
    document.forms[0].articleContent.value = content;
    document.forms[0].submit();
  }
</script>